<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>地址管理</title>
	<%@ include file="/pages/wx/baseHead.jsp"%>    
</head>
<body ontouchstart>
<div class="bd">
    <div class="weui_panel weui_panel_access">
        <div class="weui_panel_bd">
        	<c:if test="${fn:length(addrs) == 0}">
					    	<div align="center" style="color: red;margin: 15px 0 20px 0px;">无数据</div>
			</c:if>
        	<c:forEach items="${addrs }" var="bean">
	            <a href="${urlBasePath}weixin/user/receDetail.do?SN=${bean.sn }" class="weui_media_box weui_media_appmsg form-inline">
	            	<div class="weui_media_hd">
	                    <img class="weui_media_appmsg_thumb" style="width: 60px;height: 60px;border-radius:60px" src="${urlBasePath }images/qykd.png" alt="">
	                </div>
	                <div class="weui_media_bd">
	                		 <p class="weui_media_desc">
		                    	名称：${bean.receiveName }</p>
		                     <p class="weui_media_desc">
		                    	电话：${bean.receiveCellPhone }</p>	
		                    <p class="weui_media_desc">
		                    	地址：${bean.addressDetail }</p>
	                </div>
	                <c:if test="${bean.isDefault == '00'}">
		                <div align="right" style="width: 60px;">
		                	默认
		                </div>
	                </c:if>
	            </a>
            </c:forEach>
        </div>
    </div>
</div>

<div style="height: 80px;display: block;"></div>
<div class="weui_tabbar" style="position: fixed;bottom: 0%;left: 0%;background-color:#04BE02;">
    <a href="${urlBasePath}weixin/user/addView.do" class="weui_tabbar_item weui_bar_item_on">
        <p class="weui_tabbar_label" style="line-height: 40px;font-size:1.2em;color: #ffffff;">
        <i class="fa fa-plus-circle fa-sm"></i>&nbsp;添加新的地址</p>
    </a>
</div>


<%-- <div class="container" id="container">
<div class="cell">
		<div class="weui_cells_title" align="center"><h3 style="color: black;">收件人地址列表</h3></div>

		<div class="weui_cells weui_cells_access">
			<c:forEach items="${addrs }" var="bean">
		        <a class="weui_cell" href="${urlBasePath}weixin/user/receDetail.do?SN=${bean.sn }">
		            <div class="weui_cell_bd weui_cell_primary">
		                <p ><font size="3" face="arial">${bean.province } ${bean.city } ${bean.addressDetail }</font></p>
					</div>
					
					<c:if test="${bean.isDefault==00 }">
						<div class="weui_cell_ft">默认</div>
					</c:if>
					<c:if test="${bean.isDefault!=00 }">
						<div class="weui_cell_ft"></div>
					</c:if>
		        </a>
			</c:forEach>
    	</div>
			
			<div class="bd spacing">
				<a href="${urlBasePath}weixin/user/addView.do" class="weui_btn weui_btn_primary">新增</a>
			</div>
</div>		
</div> --%>
<div class="pop">
    <i class="fa fa-home fa-lg popi"></i>
</div>	
<!-- 引入微信样式代码提示工具开始 -->
<%@ include file="/pages/wx/wxClass.jsp"%>
<!-- 引入微信样式代码提示工具结束 -->
<%@ include file="/pages/wx/baseBottom.jsp"%>
</body>
</html>

